package com.libc.yygh.hosp.core.filter;

import javax.servlet.*;
import java.io.IOException;

/************************************************************* <br>
 *
 *说明: <br>
 *
 * @Description   <br>
 * @Date Created on 2022/4/12  15:53  <br>
 * @param null <br>  
 * @return   <br>
 * @Author LIBENCHENG
 * @version 1.0 <br>
 ************************************************************* <br>
 */
public class MyAppFilter implements Filter
{

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException,
            ServletException
    {
        System.err.println("原生的MyFilter....doFilter...");

        chain.doFilter(request, response);
    }

    @Override
    public void init(FilterConfig filterConfig) throws ServletException
    {
        System.err.println("原生的MyFilter....init...");
        Filter.super.init(filterConfig);
    }

    @Override
    public void destroy( )
    {
        System.err.println("原生的MyFilter....destroy...");
        Filter.super.destroy();
    }

}
